Optimal. Leaf size=16 \[ b x-\frac {a \coth (c+d x)}{d} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 16, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.095, Rules used = {3091, 8}
\begin {gather*} b x-\frac {a \coth (c+d x)}{d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 8
Rule 3091
Rubi steps
\begin {align*} \int \text {csch}^2(c+d x) \left (a+b \sinh ^2(c+d x)\right ) \, dx &=-\frac {a \coth (c+d x)}{d}+b \int 1 \, dx\\ &=b x-\frac {a \coth (c+d x)}{d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 16, normalized size = 1.00 \begin {gather*} b x-\frac {a \coth (c+d x)}{d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 1.02, size = 24, normalized size = 1.50
method | result | size |
risch | \(b x -\frac {2 a}{d \left ({\mathrm e}^{2 d x +2 c}-1\right )}\) | \(24\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.26, size = 23, normalized size = 1.44 \begin {gather*} b x + \frac {2 \, a}{d {\left (e^{\left (-2 \, d x - 2 \, c\right )} - 1\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 36 vs.
\(2 (16) = 32\).
time = 0.38, size = 36, normalized size = 2.25 \begin {gather*} -\frac {a \cosh \left (d x + c\right ) - {\left (b d x + a\right )} \sinh \left (d x + c\right )}{d \sinh \left (d x + c\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \left (a + b \sinh ^{2}{\left (c + d x \right )}\right ) \operatorname {csch}^{2}{\left (c + d x \right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.43, size = 28, normalized size = 1.75 \begin {gather*} \frac {{\left (d x + c\right )} b - \frac {2 \, a}{e^{\left (2 \, d x + 2 \, c\right )} - 1}}{d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.57, size = 23, normalized size = 1.44 \begin {gather*} b\,x-\frac {2\,a}{d\,\left ({\mathrm {e}}^{2\,c+2\,d\,x}-1\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________